﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../MasterPage.Master"
    CodeBehind="wfExportacionesMnt.aspx.cs" Inherits="CO.wfExportacionesMnt" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">

         function panelOnUpdating() {
             updatePanelAnimationUpdating();
         }


         function panelOnUpdated() {
             ResizeGrid();
             updatePanelAnimationUpdated();
         }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="ToolBar">
                <asp:ImageButton ID="btnNuevo" runat="server" onclick="btnNuevo_Click" style="width: 14px" /><asp:Label ID="Label1" runat="server" Text="Nuevo"></asp:Label>
                <asp:ImageButton ID="btnGrabar" runat="server"  onclick="btnGrabar_Click" TabIndex="5" /><asp:Label ID="Label2" runat="server" Text="Grabar"></asp:Label>
                <asp:ImageButton ID="btnSalir" runat="server"  /><asp:Label ID="Label3" runat="server" Text="Salir"></asp:Label>
            </div>
            <div class="DataHeader">                        
                <table id="TableDataHeader" cellpadding="0" cellspacing="0">
                    <tr>
                        <td colspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Codigo
                        </td>
                        <td>
                            <esd:esdButtonTextBox ID="txtidExportacion" runat="server" Width="180px"></esd:esdButtonTextBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Descripción:
                        </td>
                        <td>
                            <esd:esdTextBox ID="txtDescripcion" runat="server" Height="50px" Width="350px" CssClass="esdTextBox"></esd:esdTextBox>
                        </td>
                        <td>
                             &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Terminos y Condiciones:
                        </td>
                        <td>
                            <asp:DropDownList ID="dpTipTerminos" runat="server" Width="200px" AutoPostBack="True"></asp:DropDownList>
                        </td>
                        <td>
                             &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Via de Embarque:
                        </td>
                        <td>
                            <asp:DropDownList ID="dpEmbarque" runat="server" Width="200px" AutoPostBack="True"></asp:DropDownList>
                        </td>
                        <td>
                             &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            <asp:HiddenField ID="hdnidExportacion" runat="server" />
            <asp:HiddenField ID="hdnidImportacion" runat="server" />

        </ContentTemplate> 
    </asp:UpdatePanel>
    <ajax:UpdatePanelAnimationExtender ID="upae" BehaviorID="animation" runat="server"
        TargetControlID="updatePanel1">
        <animations>
            <OnUpdating>
            <Parallel duration="0.5">
                <ScriptAction Script="panelOnUpdating();" />  
            </Parallel>
            </OnUpdating>
            <OnUpdated>
            <Parallel duration="0.5">
                <ScriptAction Script="panelOnUpdated();" /> 
            </Parallel> 
            </OnUpdated>
        </animations>
    </ajax:UpdatePanelAnimationExtender>
    <div id="updateProgressDiv" class="updateProgress" style="display: none">
            <table width="100%">
                <tr>
                    <td valign="middle">
                        <img src="../Images/Controls/Loading.gif" />
                    </td>
                    <td valign="middle">
                        <span class="updateProgressMessage">Cargando ...</span>
                    </td>
                </tr>
            </table>
    </div>
</asp:Content>

